package com.photoveil;

import android.widget.ImageView;

public class ImageLayer implements Layer {
	private ImageView image;
	private ImageView thumbnailImage;
	private int alphaValue;
	
	public ImageLayer(ImageView image, ImageView thumbnailImage, int alphaValue) {
		this.image = image;
		this.thumbnailImage = thumbnailImage;
		this.alphaValue = alphaValue;
		image.setAlpha(alphaValue);
	}
	
	public ImageView getImage() {
		return image;
	}
	public void setImage(ImageView image) {
		this.image = image;
	}
	public int getAlphaValue() {
		return alphaValue;
	}
	public void setAlphaValue(int alphaValue) {
		this.alphaValue = alphaValue;
		image.setAlpha(alphaValue);
	}
	public ImageView getThumbnailImage() {
		return thumbnailImage;
	}
	public void setThumbnailImage(ImageView thumbnailImage) {
		this.thumbnailImage = thumbnailImage;
	}
	
	public int getLayerType() {
		return Layer.IMAGE_LAYER_TYPE;
	}
	
	public Preference getPreferences() {
		return null;
	}
	
}
